# _*_coding:utf-8 _*_
# @Time    :2020/12/3 17:16
# @Author  :lyc
# @Email   :lyc0209@qq.com
# @FileName:ParamCheck.py

import re

USERNAME_LETTER = re.compile("\d{10}")


def check_username(username):
    if len(username) == 0:
        return False
    if USERNAME_LETTER.search(username):
        return True
    else:
        return False


def check_password(username):
    if len(username) == 0:
        return False
    return True
